package com.yinhai.model;

import java.io.Serializable;

public class VOIPPhoneRecord  implements Serializable
{
	
	/**
	 * 
	 */
	private static final long serialVersionUID = -4106721703644782302L;

	private String userName;
	
    private String telnum="";

    private int state=0;//1 callout 2 callin 3 refuse 4 miss未接

    private int lastTime=0;
    private int frequency=1;
    private long dialTime=0;
    private String contactname;

    public VOIPPhoneRecord()
    {
        
    }
    public VOIPPhoneRecord(String userName,String telnum,int state,int lastTime,int frequency)
    {
    	this.userName=userName;
        this.telnum=telnum;
        this.state=state;
        this.lastTime=lastTime;
        this.frequency=frequency;
    }
    

	public String getUserName() {
		return userName;
	}
	public void setUserName(String userName) {
		this.userName = userName;
	}
	public String getTelnum() {
        return telnum;
    }
    public void setTelnum(String telnum) {
        this.telnum = telnum;
    }
    public int getState() {
        return state;
    }
    public void setState(int state) {
        this.state = state;
    }
    public int getLastTime() {
        return lastTime;
    } 
    public void setLastTime(int lastTime) {
        this.lastTime = lastTime;
    }
    public int getFrequency() {
        return frequency;
    }
    public void setFrequency(int frequency) {
        this.frequency = frequency;
    }
    public long getDialTime() {
        return dialTime;
    }
    public void setDialTime(long dialTime) {
        this.dialTime = dialTime;
    }

    public String getContactname() {
        return contactname;
    }
    public void setContactname(String contactname) {
        this.contactname = contactname;
    }
    @Override
    public String toString()
    {
        return "username="+this.userName+"  telnum=" + telnum + " state=" + state + " lastTime=" + lastTime+" frequency="+frequency+" dialTime="+dialTime;
    }
    
}
